package com.ashen.boot.admin.project.system.user.service;

import com.ashen.boot.admin.project.system.user.model.dto.UserDataTypeDTO;
import com.ashen.boot.admin.project.system.user.model.entity.UserDataTypeEntity;
import com.ashen.boot.admin.domain.service.ISuperBaseService;
import com.ashen.boot.admin.project.system.user.model.query.UserDataTypeParams;

import javax.annotation.Nonnull;

/**
 * <p>
 * 用户数据权限类型 服务类
 * </p>
 *
 * @author gao
 * @since 2021-11-08
 */
public interface IUserDataTypeService extends ISuperBaseService<Long, UserDataTypeParams, UserDataTypeDTO, UserDataTypeEntity> {
    boolean updateUserDataType(@Nonnull Long userId, @Nonnull Long dataPermissionId, @Nonnull int isall);
}
